package admin

import (
	"hello/app/http/controllers"
	"hello/lib/view"
	"net/http"
)

type Index struct {
	controllers.Base
}

func NewAdminIndex() Index {
	return Index{}
}

// 主要内容
func (mc *Index) Index(w http.ResponseWriter, r *http.Request) {

	view.Render(w, view.D{}, "admin.index.index")
}
